//
//  FootViewController.m
//  Game2048
//
//  Created by mis on 16/3/22.
//  Copyright © 2016年 mis. All rights reserved.
//

#import "FootViewController.h"
#import "FootView.h"

@interface FootViewController ()
@property (nonatomic, strong) FootView *footView;
@end

@implementation FootViewController

- (FootView *)footView {
    if (!_footView) {
        _footView = [[FootView alloc] initWithFrame:CGRectMake(0, self.view.frame.size.height - 100, self.view.frame.size.width, 100)];
        _footView.backgroundColor = [UIColor groupTableViewBackgroundColor];
    }
    return _footView;
}

- (void)viewDidLoad {
    [super viewDidLoad];
    [self.view addSubview:self.footView];
    [self.footView setCurrentScore:2000];
    [self.footView setHighScore:10086];
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

@end
